<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>posion</title>
	<style type="text/css">
	*{
		margin: 0px;
		padding: 0px;
	}
	.father{
		width: 400px;
		height: 400px;
		margin-left:100px; 
		border: solid blue;
		position: relative;

	}
	.box1{
		width: 100px;
		height: 100px;
		/* background: red url() 0 0 no-repeat; */
		border: solid red; 
		position: relative;
		top:50px;
		left: 50px; 
	}
	.box2{
		width: 100px;
		height: 100px;
		border: solid yellow;
		position: absolute;
		right: 20px;
	}
	.box3{
		width: 100px;
		height: 100px;
		background: green url() 0 0 no-repeat;
		position: fixed;
		bottom: 60px;
	}
	</style>
</head>
<body>
	<div class="father">
	<div class="box1"></div>
	<div class="box2"></div>
	<div class="box3"></div>
</div>
</body>
</html>